using System;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Joy.Erp.BasicArchives.Core.Filters;

namespace Joy.Erp.BasicArchives.Production
{
    public interface IProductionOrderTypeAppService
    {
        Task<ProductionOrderTypeDto> GetAsync(Guid id);
        Task<ProductionOrderTypeDto> FindAsync(string filter);
        Task<ProductionOrderTypeDto> FindBySourceKeyAsync(string sourceKey, string sourceType);
        Task<PagedResultDto<ProductionOrderTypeDto>> GetListAsync(FilterRequestDto input);
        Task<PagedResultDto<ProductionOrderTypeDto>> QueryAsync(FilterGroupRequestDto input);
        Task<ProductionOrderTypeDto> CreateAsync(ProductionOrderTypeCreateDto input);
        Task<ProductionOrderTypeDto> UpdateAsync(Guid id, ProductionOrderTypeUpdateDto input);
        Task DeleteAsync(Guid id);
    }
}